package com.ktgj.other.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 专车合作商基本信息对象 rc_partners_basic_information
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
public class RcPartnersBasicInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合作商ID */
    private Long partnerid;

    /** 合作类型：1 金色世自有，2 租凭公司，3 平台供应商 */
    @Excel(name = "合作类型：1 金色世自有，2 租凭公司，3 平台供应商")
    private Long cooperationtype;

    /** 合作商名称 */
    @Excel(name = "合作商名称")
    private String partnername;

    /** 合作商简称 */
    @Excel(name = "合作商简称")
    private String partnerabbreviation;

    /** $column.columnComment */
    @Excel(name = "合作商简称")
    private String partneraddress;

    /** 合作商等级：0 无等级，1,2,3,4,5 ; 一星级,二星级,三星级,四星级,五星级 */
    @Excel(name = "合作商等级：0 无等级，1,2,3,4,5 ; 一星级,二星级,三星级,四星级,五星级")
    private Long partnerlevel;

    /** 合作商状态：-1 黑名单，0 下网，1 上网，3 挂起； */
    @Excel(name = "合作商状态：-1 黑名单，0 下网，1 上网，3 挂起；")
    private Long partnerstatus;

    /** 市 */
    @Excel(name = "市")
    private Long city;

    /** 合作商电话 */
    @Excel(name = "合作商电话")
    private String partnerphone;

    /** 上网时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上网时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onlinetime;

    public void setPartnerid(Long partnerid) 
    {
        this.partnerid = partnerid;
    }

    public Long getPartnerid() 
    {
        return partnerid;
    }
    public void setCooperationtype(Long cooperationtype) 
    {
        this.cooperationtype = cooperationtype;
    }

    public Long getCooperationtype() 
    {
        return cooperationtype;
    }
    public void setPartnername(String partnername) 
    {
        this.partnername = partnername;
    }

    public String getPartnername() 
    {
        return partnername;
    }
    public void setPartnerabbreviation(String partnerabbreviation) 
    {
        this.partnerabbreviation = partnerabbreviation;
    }

    public String getPartnerabbreviation() 
    {
        return partnerabbreviation;
    }
    public void setPartneraddress(String partneraddress) 
    {
        this.partneraddress = partneraddress;
    }

    public String getPartneraddress() 
    {
        return partneraddress;
    }
    public void setPartnerlevel(Long partnerlevel) 
    {
        this.partnerlevel = partnerlevel;
    }

    public Long getPartnerlevel() 
    {
        return partnerlevel;
    }
    public void setPartnerstatus(Long partnerstatus) 
    {
        this.partnerstatus = partnerstatus;
    }

    public Long getPartnerstatus() 
    {
        return partnerstatus;
    }
    public void setCity(Long city) 
    {
        this.city = city;
    }

    public Long getCity() 
    {
        return city;
    }
    public void setPartnerphone(String partnerphone) 
    {
        this.partnerphone = partnerphone;
    }

    public String getPartnerphone() 
    {
        return partnerphone;
    }
    public void setOnlinetime(Date onlinetime) 
    {
        this.onlinetime = onlinetime;
    }

    public Date getOnlinetime() 
    {
        return onlinetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("partnerid", getPartnerid())
            .append("cooperationtype", getCooperationtype())
            .append("partnername", getPartnername())
            .append("partnerabbreviation", getPartnerabbreviation())
            .append("partneraddress", getPartneraddress())
            .append("partnerlevel", getPartnerlevel())
            .append("partnerstatus", getPartnerstatus())
            .append("city", getCity())
            .append("partnerphone", getPartnerphone())
            .append("onlinetime", getOnlinetime())
            .append("createtime", getCreateTime())
            .append("updatetime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
